/*
 * author:dustin
 *
 * email:dushaobindoudou@gmail.com
 *
 */

(function(win){
    var doc = win.doc;
    var prefix = ["moz", "webkit", "o", "ms", ""]
    
	
    var setStyle = function(el, sty){
        var st = el.style,i=0;
		if(!st){
			return;
		}
		var reg = new RegExp("");
		
		for(;i<prefix.length;i++){
			
		}
    }
    
    var isString = function(obj){
    
        return Object.prototype.toString.call(obj) === "[object String]";
    }
    //这里还可以加缓动
	var theDataPool = 0;
	
    var FlipAnimate = function(content){
        this.contentEle = isString(content) ? doc.getElementById(content) : content;
        
        this.timmer = new Timer();
        
        
    }
    FlipAnimate.prototype = {
        constructor: FlipAnimate,
        init: function(){
        	
        
        },
        addDeg: function(){
			theDataPool++;
            var rotate = getStyle(this.contentEle, "transform");
            console.log(rotate);
        }
    }
    
    win.FlipAnimate = FlipAnimate;
    
})(window)
